import * as type from "./type"

let mulations = {
    [type.Home](state,action){
        state.appBanners = action.payload[0].bannerList;
        state.rowImage1 = action.payload[1];
        state.appProductItems = action.payload[2].itemList;
        state.rowImage2 = action.payload[3];
        state.rowThreeBox1= action.payload[4].itemList[0];
        state.rowThreeBox2= action.payload[4].itemList[1];
        state.rowThreeBox3= action.payload[4].itemList[2];
        state.youngImage1= action.payload[5]
        // state.youngImage2= action.payload[5].secondImgItem
        // state.rowTwoAd1= action.payload[6].firstImgItem
        // state.rowTwoAd2= action.payload[6].secondImgItem


   
       
    }
}

export default mulations;
